From: Miles Bader Date: Tue, 10 Sep 2002 01:23:57 +0000 (+0000) Subject: (do-auto-fill): `fill-indent-according-to-mode' is a variable, not a X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~30692 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ee9ac8ad85761399b1cdaf71cd4d2dd4c582f0af;p=emacs.git (do-auto-fill): `fill-indent-according-to-mode' is a variable, not a function. --- diff --git a/lisp/simple.el b/lisp/simple.el index 6d1dbe1db7c..99cf8d8af63 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3084,7 +3084,7 @@ Setting this variable automatically makes it local to the current buffer.") (save-excursion (forward-paragraph 1) (point))))) (and prefix (not (equal prefix "")) ;; Use auto-indentation rather than a guessed empty prefix. - (not (and (fill-indent-according-to-mode) + (not (and fill-indent-according-to-mode (string-match "\\`[ \t]*\\'" prefix))) (setq fill-prefix prefix))))